package org.yxing.palpalgps.utils;

import org.jivesoftware.smack.util.Base64;

public class MyBase64 {
    public static final String encode(String str) {
        return Base64.encodeBytes(str.getBytes());
    }
    
    public static final String decode(String encodeStr) {
        return new String(Base64.decode(encodeStr));
    }
}
